package server;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;

public class ServerAdmin implements interfaces.GuiHandler  {
	
	UserManager userMan;

	public ServerAdmin() {
		userMan = new UserManager();
	}

	public void sendBroadcastMessage() {
		
	}
	
	public void deleteUserById(String userId) {
		userMan.deleteUserById(userId);
		
	}

	public void addUser(String userName, String number) {
		User user = new User();
		user.setName(userName);
		user.setNumber(number);		
		userMan.addUser(user);
	}

	public User[] getUsers() {
		return null;
	}


}
